package com.geo.fight;

class Particle{
	/**
	 * @author Geo
	 */
	private double xPosP;
	private double yPosP;
	private double veloXP;
	private double veloYP;
	private boolean visibleP;
	private int radius = 7;
	public Particle(double xPosP,double yPosP){
		this.xPosP = xPosP;
		this.yPosP = yPosP;
		visibleP = true;
	
	}

	public double getxPosP() {
		return xPosP;
	}

	public void setxPosP(double xPosP) {
		this.xPosP = xPosP;
	}

	public double getyPosP() {
		return yPosP;
	}

	public void setyPosP(double yPosP) {
		this.yPosP = yPosP;
	}

	public double getVeloXP() {
		return veloXP;
	}

	public void setVeloXP(double veloXP) {
		this.veloXP = veloXP;
	}

	public double getVeloYP() {
		return veloYP;
	}

	public void setVeloYP(double veloYP) {
		this.veloYP = veloYP;
	}

	public boolean isVisibleP() {
		return visibleP;
	}

	public void setVisibleP(boolean visibleP) {
		this.visibleP = visibleP;
	}
	public void moveP(){
		xPosP+=veloXP;
		yPosP-=veloYP;
	}
	public int getRediusP(){
		return radius;
	}
}
